package com.njwb.day03;

import java.util.Arrays;

public class mm {
//    static int [] Node=new int[1];
    public static void main(String[] args) {
        int [] a=new int[1];
        add(a);
        System.out.println(Arrays.toString(a));
    }
    public static void add(int[] a){
        a = Arrays.copyOf(a, a.length + 1);
        a[0]=1;
        a[1]=1;
    }

}
